package com.yld.ch05;

import java.io.FileNotFoundException;

import com.yld.ch01.PrintUtil;





public class Client {
	
	
	public static void main(String[] args) {
		
		
		new ScottThread().start();
		new ScottThread().start();
		new ScottThread().start();
		
		
		
	}
	

}


class ScottThread extends  Thread {
	
	PrintUtil  print = new PrintUtil();
	
	@Override
	public void run() {
		synchronized (FileNotFoundException.class) {
			print.printTask();
		}
	}
}

